package com.merry.annoreflex;

import java.util.ArrayList;
import java.util.List;

public class MyEntity {

    @MyAnnotation(name = "名字",password = "123456")
    private String name = "mingzi";

    @MyAnnotation1(newName = "这是一个新密码")
    private String password ="pass1111";

    private List<MyEntity> entities =new ArrayList<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<MyEntity> getEntities() {
        return entities;
    }
}
